package com.online.dao;

import com.online.entity.CourseContactClass;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface CourseContactClassMapper {

    int insertARecord(CourseContactClass courseContactClass);

    int deleteARecordByCourseId(Integer courseId);

    int deleteARecordByClassId(Integer classId);

    List<Integer> selectCourseIdByClassId(Integer classId);

    CourseContactClass selectbyId(@Param("courseId") Integer courseId,@Param("classId") Integer classId);

    List<CourseContactClass> selectClassByCourseId(Integer courseId);
}
